//
//  LoadingIndicator.h
//  VietNews
//
//  Created by Nguyen .a.Hph on 8/4/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LoadingIndicator : UIView {
    
    UIActivityIndicatorView *activityIndicator;
    UILabel *labelMessage;
    
}

@property(retain) UIActivityIndicatorView *activityIndicator;
@property(retain) UILabel *labelMessage;

- (id)init;
- (void)show:(NSString *)theMessage;
- (void)hide;
- (void)refreshPosition;

@end

@protocol QueryRemoteDataDelegate

@optional
- (void)didReceiveRemoteData:(id)remoteData from:(id)remoteSender;
- (void)didReceiveRemoteDataError:(id)error;
@end
